home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00b.txt / 000110_icon-group-sender_Wed Oct 25 12:24:13 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id e9PJNkm08714
  4.     for icon-group-addresses; Wed, 25 Oct 2000 12:23:46 -0700 (MST)
  5. Message-Id: <200010251923.e9PJNkm08714@baskerville.CS.Arizona.EDU>
  6. From: symbiot@my-deja.com
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Yet another Newbie question....
  9. Date: Wed, 25 Oct 2000 16:18:08 GMT
  10. X-Article-Creation-Date: Wed Oct 25 16:18:08 2000 GMT
  11. X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt)
  12. X-Http-Proxy: 1.0 SRVPROXY, 1.0 x65.deja.com:80 (Squid/1.1.22) for client 208.51.185.226
  13. X-MyDeja-Info: XMYDJUIDsymbiot
  14. To: icon-group@cs.arizona.edu
  15. Errors-To: icon-group-errors@cs.arizona.edu
  16. Status: RO
  17. Content-Length: 736
  18.  
  19. Hi,
  20.  
  21. And thanks in advance to all who have been helping me thru this
  22. learning curve of getting started in ICON.
  23.  
  24. My present problem is trying to write a rountine that counts only
  25. letters in text and skips blanks, numbers, punctuation, etc.
  26.  
  27. I tried....
  28.  
  29. if member(&letters,line[index]) then totalcount +:= 1
  30.  
  31. ...but for some unexplicable reason, it barfed on the very first
  32. character with
  33.  
  34. set or table expected.
  35. Offending value &letters
  36.  
  37. Isn't &letters a cset? You can use it in other "set" functions....can't
  38. you? What am I missing?
  39.  
  40. Assistance appreciated!
  41.  
  42.  
  43.  
  44. --
  45. "Wife who put husband in doghouse, soon find him in cathouse."
  46.                             -- Wisdom of the Tao
  47.  
  48.  
  49. Sent via Deja.com http://www.deja.com/
  50. Before you buy.
  51.